DATA SEGMENT
 MESS DB 'Hello world!','$'
DATA ENDS
STACK SEGMENT PARA STACK 'STACK'
 STA DB 1024 DUP(?)
STACK ENDS
CODE SEGMENT
 ASSUME CS:CODE,SS:STACK,DS:DATA
BEGIN:MOV AX,DATA
      MOV DS,AX   ;init DS
      MOV AH,9    ;DS:DX POINT MESS
      MOV DX,OFFSET MESS   
      INT 21H
      MOV AX,4C00H
      INT 21H
CODE ENDS
     END BEGIN
